package com.mxpio.erp.common.equipment.vo;

import com.mxpioframework.jpa.annotation.DictAble;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * @author H2017877
 */
@Data
@NoArgsConstructor
public class EquipmentCheckTaskDetailExport implements DictAble, Serializable {

    /**点巡检项目*/
    @Schema(description = "点巡检项目")
    private String content;
    /**属性单位*/
    @Schema(description = "属性单位")
    private String attributeUnit;
    /**点巡检目标*/
    @Schema(description = "点巡检目标")
    private String target;
    /**检验结果值*/
    @Schema(description = "检验结果值")
    private String actualVaule;
    /**异常类别*/
    @Schema(description = "异常类别")
    private String abnormalType;
    /**异常描述*/
    @Schema(description = "异常描述")
    private String abnormalRemark;



    private Map<String, String> textMap;
    @Override
    public String putText(String key, String value) {
        if (textMap == null) {
            textMap = new HashMap<>();
        }
        return textMap.put(key, value);
    }
}
